import "./assets/css/main.css"
import "zui/css"
import "element-plus/dist/index.css"
import 'animate.css';

import * as ElIcons from '@element-plus/icons-vue'

import { createApp } from "vue"
import { createPinia } from "pinia"
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

import App from "./App.vue"
import router from "./router"

const app = createApp(App)

for (const name in ElIcons){
	app.component(name,(ElIcons as any)[name])
}

const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

app.use(pinia)
app.use(router)

app.mount("#app")
